/*
 * @Author: FanWeiHua
 * @Date: 2021-08-03 15:35:28
 * @LastEditTime: 2021-08-03 15:46:15
 * @Description: 功能模块
 */
const state = () => ({
  // 模块tabs
  moduleTabs: []
});

// getters
const getters = {};

// actions
const actions = {};

// mutations
const mutations = {
  // 添加模块
  add(state, moduleTabs) {
    state.moduleTabs = moduleTabs;
  }
};

export default {
  namespaced: true,
  state,
  getters,
  actions,
  mutations
};
